package org.jeecg.modules.monitoring.j_monitoring.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.monitoring.j_monitoring.entity.MGlNetworkResource;
import org.jeecg.modules.monitoring.j_monitoring.entity.MGlStorageResources;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * @Description: 存储设备(管理)
 * @Author: xiaoyq
 * @Date:   2023-01-12
 * @Version: V1.0
 */
public interface MGlStorageResourcesMapper extends BaseMapper<MGlStorageResources> {
    /**
     * 存储设备分页查询
     * @param pagelist
     * @param queryWrapper
     * @return
     */
    Page<MGlStorageResources> getPageList(Page<MGlStorageResources> pagelist, @Param("ew") QueryWrapper queryWrapper);

    int updateMonitorStatusByIpList(@Param("monitorStatus") String monitorStatus, @Param("ipList") List<String> ipList);
}
